package com.gxa.jjty.core.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author 雅风
 */
@Data
@NoArgsConstructor
@AllArgsConstructor

@Table(name = "returnVO") // 创建数据表的注解

@ApiModel("服务回访的实体")
@Validated
public class ReturnVO implements Serializable {

  @Column(name = "order_id")
  private Long orderId;

  @Column(name = "state")
  private Boolean state;

  @Column(name = "order_number")
  private String orderNumber;

  @Column(name = "order_time")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Timestamp orderTime;

  @Column(name = "cjr_id")
  private Long cjrId;

  @Column(name = "order_user")
  private String orderUser;

  @Column(name = "order_phone")
  private String orderPhone;

  @Column(name = "serve_type")
  private String serveType;

  @Column(name = "order_price")
  private String orderPrice;

  @Column(name = "pay_price")
  private String payPrice;

  @Column(name = "phy_name")
  private String phyName;

}
